void Dispatch()
{
	int i;
	int nbytes;
	
	while(1)
	{

		if((nbytes=read(new_fd, pMessageBuffer, sizeof(pMessageBuffer))) == -1)
		{
			fprintf(stderr, "Read error:%s\n\a", strerror(errno));
			exit(1);
		}
	
		pMessageBuffer[nbytes] = '\0';

		
		Dispart(); /* Dispart command and argument from pMessageBuffer. */
	
		for(i=CmdCount-1; i > 0; i--)
			if(strcmp(command, CmdMap[i].command) == 0)
		 	{
				CmdMap[i].process();
				break;
			}

		if(i == 0)
		{
			strcpy(ErrorMessage, "Cannot recgonize this command.\a\n");
			CmdMap[0].process();
		}

		if(i == CmdCount-1)	break; /* Process Exit. */
	}
}

